


package wiiusej.connection;

import java.util.HashMap;

import wiiusej.Wiimote;
import wiiusej.wiiusejevents.utils.WiiUseApiListener;


public interface ApiConnection {

	void initDataStructure(int nbPossibleWiimotes);
	void setBlueToothstackType(int stackType);
	int findWiimotes(int nbMaxWiimotes, int timeout);
	int connectDiscoveredWiimotes(int nbWiimotesFound);
	int getUnId(int i);
	//void addWiiUseApiListener(WiiUseApiListener listener);
	void closeConnection(int id);
	void closeSetOfConnections(HashMap<Integer, Wiimote> toDelete);
	//void setConnectionManager(ConnectionManager conectionManager);
	
	//void setLeds(Wiimote wim);
	//void activateRumble(Wiimote wim);
	
		
}
